package com.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "mysql表信息")
@Data
public class MySqlTablesVo implements Serializable {
    private static final long serialVersionUID = -5156108439588955044L;

    @ApiModelProperty(value = "表名称")
    private String tableName;
    @ApiModelProperty(value = "表行数 -非实时")
    private String tableRows;
    @ApiModelProperty(value = "表注释")
    private String tableComment;
    @ApiModelProperty(value = "表引擎")
    private String engine;
    @ApiModelProperty(value = "数据长度")
    private Long dataLength;
    @ApiModelProperty(value = "显示数据长度")
    @TableField(exist = false)
    private String showDataLength;
    @ApiModelProperty(value = "索引长度")
    private Long indexLength;
    @ApiModelProperty(value = "显示索引长度")
    @TableField(exist = false)
    private String showIndexLength;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "创建时间")
    private Date updateTime;
}
